namespace JHT.EFMigrationTest.ClassLibrary1.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class ModifyTeacherDetails : DbMigration
    {
        public override void Up()
        {
            RenameColumn(table: "dbo.TeacherInfo", name: "ComlextType_Nation", newName: "Nation");
            AlterColumn("dbo.TeacherInfo", "Nation", c => c.String(maxLength: 50, unicode: false));
        }
        
        public override void Down()
        {
            AlterColumn("dbo.TeacherInfo", "Nation", c => c.String());
            RenameColumn(table: "dbo.TeacherInfo", name: "Nation", newName: "ComlextType_Nation");
        }
    }
}
